#include"BTree.h"

BTtest1()
{
	char str[] = "ABD##E#h##CF##G##";
	int i = 0;
	BTnode* root = BTCreate(str, &i);
	BTInOrder(root);
	printf("\n");
	/*printf("%d\n", BTSize(root));
	printf("%d\n", BTleafSize(root));
	printf("%d\n", BTlevelkSize(root,4));*/

	/*BTnode* find = BTFind(root, 'B');
	BTInOrder(find);*/

	/*BTPostOrder(root);*/

	BTLevelOrder(root);
	printf("\n");
	printf("%d ",BTComplete(root));
	BTDestroy(root);
}

int main()
{
	BTtest1();
}